package me.zingon.demo.component;

import me.zingon.core.context.annotation.SAutowired;
import me.zingon.core.context.annotation.SComponent;

@SComponent("testBean02")
public class TestBean02 {

    String msg="im 02";

    @SAutowired("myName")
    TestBean01 testBean01;

    @Override
    public String toString() {
        System.out.println("im in 02:"+testBean01.msg);
        return "I'm bean02";
    }
}
